
class ListCanTransferPageModel {
  List<ListCanTransferPageItem>? list;
  int? pageNum;
  int? pageSize;
  int? total;
  int? totalPage;

  ListCanTransferPageModel({this.list, this.pageNum, this.pageSize, this.total, this.totalPage});

  ListCanTransferPageModel.fromJson(Map<String, dynamic> json) {
    list = json["list"] == null ? null : (json["list"] as List).map((e) => ListCanTransferPageItem.fromJson(e)).toList();
    pageNum = json["pageNum"];
    pageSize = json["pageSize"];
    total = json["total"];
    totalPage = json["totalPage"];
  }

  static List<ListCanTransferPageModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(ListCanTransferPageModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if(list != null) {
      _data["list"] = list?.map((e) => e.toJson()).toList();
    }
    _data["pageNum"] = pageNum;
    _data["pageSize"] = pageSize;
    _data["total"] = total;
    _data["totalPage"] = totalPage;
    return _data;
  }
}

class ListCanTransferPageItem {
  String? effectiveDate;
  int? id;
  String? invalidDate;
  int? propId;
  String? propImageUrl;
  String? title;
  String? transferStatus;
  bool? transferable;
  int? userPropEffectiveType;
  bool isSelect  = false;
  ListCanTransferPageItem({this.effectiveDate, this.id, this.invalidDate, this.propId, this.propImageUrl, this.title, this.transferStatus, this.transferable, this.userPropEffectiveType,this.isSelect=false});

  ListCanTransferPageItem.fromJson(Map<String, dynamic> json) {
    effectiveDate = json["effectiveDate"];
    id = json["id"];
    invalidDate = json["invalidDate"];
    propId = json["propId"];
    propImageUrl = json["propImageUrl"];
    title = json["title"];
    transferStatus = json["transferStatus"];
    transferable = json["transferable"];
    userPropEffectiveType = json["userPropEffectiveType"];
     isSelect = json["isSelect"] ??false;
  }

  static List<ListCanTransferPageItem> fromList(List<Map<String, dynamic>> list) {
    return list.map(ListCanTransferPageItem.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["effectiveDate"] = effectiveDate;
    _data["id"] = id;
    _data["invalidDate"] = invalidDate;
    _data["propId"] = propId;
    _data["propImageUrl"] = propImageUrl;
    _data["title"] = title;
    _data["transferStatus"] = transferStatus;
    _data["transferable"] = transferable;
    _data["userPropEffectiveType"] = userPropEffectiveType??false;
     _data["isSelect"] = isSelect;
    return _data;
  }
}